﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewRequest.aspx.cs" Inherits="ChengpiReport.NewRequest" %>

<%@ Register Src="../../Processes/ProcessControl/UserInfo_TY.ascx" TagName="UserInfo"
    TagPrefix="ui" %>
<%@ Register Src="../../Processes/ProcessControl/ApprovalHistory_TY.ascx" TagName="ApprovalHistory"
    TagPrefix="ah" %>
<%@ Register Src="../../Processes/ProcessControl/Attachments_TY.ascx" TagName="Attachments"
    TagPrefix="attach" %>
<%@ Register Src="../../Processes/ProcessControl/ButtonList_TY.ascx" TagName="ButtonList"
    TagPrefix="btn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>呈批报告</title>
    <link rel="Stylesheet" href="../../App_Themes/formValidator2.5/css/validationEngine.jquery.css" />
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js"></script>
    <script language="javascript" type="text/javascript">
        jQuery(document).ready(function () {
            jQuery("");
            $("#fld_RELATEPRTSONSNAME").keydown(function (event) {
                return false;
            });
        })

        function check(id) {
            if (id == 'NARMALITEM') {
                $("#fld_URITEM").val("平件");
            }

            if (id == 'URITEM') {
                $("#fld_URITEM").val("急件");
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="container">
        <div class="row">
            <ui:userinfo id="UserInfo1" processprefix="CR" processtitle="呈批报告" tablename="PROC_CHENGPIREPORT"
                runat="server"></ui:userinfo>
        </div>
        <div class="row">
            <table class="table table-condensed table-bordered">
                <tr>
                    <td class="banner" colspan="4">
                        详细信息
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        编号：
                    </td>
                    <td class="td-content">
                        <asp:Label ID="TNUMBER" runat="server"></asp:Label>
                        <asp:TextBox ID="fld_TNUMBER" runat="server" Style="display: none;"></asp:TextBox>
                    </td>
                    <td class="td-label">
                        填写日期：<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="1">
                        <asp:TextBox ID="fld_INPUTDATE" runat="server" OnClick="WdatePicker()" CssClass="Wdate validate[required]"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                    </td>
                    <td class="td-content" colspan="3">
                        <span onclick="check('NARMALITEM')">
                            <asp:RadioButton ID="NARMALITEM" Checked="true" runat="server" GroupName="item" Text="平件" /></span>
                        <span onclick="check('URITEM')">
                            <asp:RadioButton ID="URITEM" runat="server" GroupName="item" Text="急件" /></span>
                        <asp:TextBox ID="fld_URITEM" CssClass="validate[required]" Text="平件" Style="display: none;"
                            runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr style="height: 60px;">
                    <td class="td-label" style="vertical-align: middle;">
                        呈批内容：<span class="red">*</span>
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox ID="fld_SIMPLECONTENT" CssClass="validate[required]" Height="126px"
                            runat="server" TextMode="MultiLine" Width="80%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td-label">
                        选择相关人员：
                    </td>
                    <td class="td-content" colspan="3">
                        <asp:TextBox ID="fld_RELATEPRTSONSNAME" AutoCompleteType="Disabled" runat="server"
                            Width="80%"></asp:TextBox>
                        <asp:TextBox ID="fld_RELATEPRTSONS" runat="server" Style="display: none;"></asp:TextBox>
                        <%--                        <asp:Button ID="Button2" CssClass="btn" runat="server" Text="选择" OnClientClick="selectUser(2,'fld_RELATEPRTSONSNAME','fld_RELATEPRTSONS')" />--%>
                        <input id="btnSearch" class="btn" type="button" value="选择" onclick="selectUser(2,'fld_RELATEPRTSONSNAME','fld_RELATEPRTSONS')" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="row">
            <attach:attachments id="Attachments1" runat="server"></attach:attachments>
        </div>
        <div class="row">
            <ah:approvalhistory id="ApprovalHistory1" showaction="false" runat="server"></ah:approvalhistory>
        </div>
        <div class="row">
        </div>
    </div>
    <btn:buttonlist id="ButtonList1" runat="server"></btn:buttonlist>
    <div style="display: none;">
    </div>
    </form>
</body>
</html>
